package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkPlatformSource;
import com.ruoyi.logistic.mapper.NetworkPlatformSourceMapper;
import com.ruoyi.logistic.service.NetworkPlatformSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NetworkPlatformSourceServiceImpl implements NetworkPlatformSourceService {
    @Autowired
    private NetworkPlatformSourceMapper networkPlatformSourceMapper;
    @Override
    public List<NetworkPlatformSource> selectAll() {
        return networkPlatformSourceMapper.selectAll();
    }

    @Override
    public NetworkPlatformSource findById(Integer id) {
        return networkPlatformSourceMapper.findById(id);
    }

    @Override
    public Boolean insert(NetworkPlatformSource networkPlatformSource) {
        return networkPlatformSourceMapper.insert(networkPlatformSource);
    }

    @Override
    public Boolean update(NetworkPlatformSource networkPlatformSource) {
        return networkPlatformSourceMapper.update(networkPlatformSource);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkPlatformSourceMapper.deleteById(id);
    }
}
